BASICe is an implementation of BASIC for Windows CE.  It was written 
by Dean Gienger and is distributed as freeware.

CORREL.BAS is a little freeware program written in BASICe.  It will 
calculate Pearson's r, the correlation coefficient, on a pair of 
variables and give the means and standard deviations of each variable.  
In addition, it will plot the points and display the regression line. 

The data file must be named "data" and located in the same directory
as the BASICe program.  It begins with an integer, on the first line,
that tells the number of cases (less than or equal to 100 cases).  
That number is followed by the input data in the form of a two-column 
array of pairs of floating point numbers in free format:

 4
 1.98  134.0
 0.333  -4.98
 111.7 1.0
 22.91 20.0

A sample data set is provided.

Problems?  lin@aris.ss.uci.edu
